#!/usr/bin/python
# Copyright 2009, Jeremy Pack

class Transaction(object):
  def __init__(self, name, amount, date, tag):
    self.name = name
    self.amount = amount
    self.date = date
    self.tag = tag

  def __repr__(self):
    return ("(Name: %s Amount: %f Date: %s Tag: %s)" %
            (self.name, self.amount, str(self.date), self.tag))
